package com.sdy.hospitalguard;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * Spring Boot Application
 *
 * @see <a href="https://spring.io/projects/spring-boot">Spring Boot</a>
 */
@SpringBootApplication(exclude = {
        com.sdy.mvc.config.FeignConfig.class,
        com.sdy.mvc.config.DruidConfig.class,
        com.sdy.mvc.config.DistributedConfig.class,
        com.sdy.redis.config.RedisConfig.class
}) // 启用@EnableAutoConfiguration @ComponentScan
@EnableAsync
public class MyApplication {
    public static void main(String[] args) {
        SpringApplication.run(MyApplication.class, args);
    }
}

